package com.ccom.starter.job.prop;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "ccom.xxljob")
public class XxlJobProperties {

    private String ip = "127.0.0.1";
    private int port = 9080;
    private String adminAddresses;
    private String appname;
    private String accessToken;
    private String logPath;
    private int logRetentionDays;
    private String name;
    /**
     * 是否开启xxljob
     */
    private Boolean enable = true;
}
